<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加任務</title>
<link href="css/sytle.css" rel="stylesheet" type="text/css" />
<sx:head />
</head>

<body>
	<div class="container"></div>
	<div id="addTask_dialog">
	<s:i18n name="globalMessage">
		<s:text name="task.add"></s:text>
		<s:form action="addTask">
			<s:if test="#session.USER_GROUP=='admin'">
				<s:select id="task_group" name="tasklist.group"
					list="#{'admin':'管理组','children':'儿童班','choir':'唱诗班','liaison':'外联部','biblestudy':'查经班',
							'services':'服务组'}"
					listKey='key' listValue="value" key="task.group"></s:select>
			</s:if>
			<sx:datetimepicker name="tasklist.datetime" key="task.datetime"
				displayFormat="yyyy-MM-dd" />
			<s:textfield name="tasklist.work" key="task.work"></s:textfield>
			<s:textfield name="tasklist.workers" key="task.workers"></s:textfield>
			<s:textfield name="tasklist.info" key="task.info"></s:textfield>
			<s:textfield name="tasklist.commont" key="task.commont"></s:textfield>
			<s:submit key="task.submit"></s:submit>
		</s:form>
		</div>
	</s:i18n>
</body>
</html>